#
# HTTP server that serves static responses
#
static_resources:
  listeners:
  - name: main
    address:
      socket_address:
        address: 127.0.0.1
        port_value: 7070
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        config:
          stat_prefix: ingress_http
          codec_type: auto
          route_config:
            name: local_route
            virtual_hosts:
            - name: local_service
              domains:
              - "*"
              routes:
              - match:
                  prefix: "/"
                direct_response:
                  status: 200
                  body:
                    filename: /tmp/response.json
          http_filters:
          - name: envoy.filters.http.router
            config: {}
